package models;

import common.BasicModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name="movie_theatre")
public class MovieTheatre extends BasicModel{

    @Column(name="movie_id")
    public String movieId;

    @Column(name="theatre_hall_id")
    public String theatreHallId;

    @Column(name="hall_num")
    public int hallNum;

    @Column(name="start_time")
    public Date startTime;

    @Column(name="theatre_id")
    public String theatreId;

    @Column(name="price")
    public double price;
}